{#if loading}
Loading...
{:else if error}
{error}
{:else if img}
{img.filename}
{#if img.thumbnail_path}
{:else}
NO THUMBNAIL
{/if}
UPLOADED BY
{#if img.avatar_url}
{/if}
{img.uploader_username}
ID
#{img.id}
DIMENSIONS
{img.width} × {img.height}
FILE SIZE
{formatSize(img.file_size)}
TYPE
{img.mime_type}
UPLOADED
{formatDate(img.created_at)}
TAGS
{#if img.tags_detail.length > 0} {#each img.tags_detail as t (t.tag)}
{t.tag}
{t.usage_count}
{/each} {:else}
none
{/if}
{#if img.is_owner}
EDIT TAGS
setTimeout(() => { showSuggestions = false; }, 200)} /> {#if showSuggestions}
{#each suggestions as s}
selectSuggestion(s)}>{s}
{/each}
{/if}
ADD
REMOVE
{#if tagError}
{tagError}
{/if}
{/if}
DOWNLOAD ORIGINAL
← BACK TO BROWSE
{/if}